using System.ComponentModel.DataAnnotations;

namespace DatabaseManager.Models;

public class LoginViewModel
{
    [Required(ErrorMessage = "请输入用户名")]
    public string Username { get; set; } = string.Empty;
    
    [Required(ErrorMessage = "请输入密码")]
    public string Password { get; set; } = string.Empty;
    
    public bool RememberMe { get; set; }
}